package com.solo.system.model.role.dept.req;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 数据权限修改请求对象 req
 * @author 十一
 * @since 2024-11-07 09:18
 * 人生若只如初见，何事秋风悲画扇
 **/
@Data
public class RoleDeptUpdateReq {

    /**
     * 角色id
     */
    @NotNull(message = "{roleDept.required.roleId}")
    private Long roleId;

    /**
     * 部门id
     */
    @NotNull(message = "{roleDept.required.deptId}")
    private Long deptId;

}
